package org.szy.plugin.sys.entity;

import com.mybatisflex.annotation.Table;
import org.szy.core.common.entity.BaseEntity;
import org.szy.core.common.listener.BaseInsertListener;
import org.szy.core.common.listener.BaseUpdateListener;

/**
 * 系统菜单实体
 *
 * @author wangbuhao
 * @since 2023-06-25 10:36:16
 **/
@Table(value = "sys_menu", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class)
public class SysMenu extends BaseEntity {

    /** 父id */
    private Long pid;
    /** 父ids */
    private String pids;
    /** 名称 */
    private String name;
    /** 编码 */
    private String code;
    /** 菜单类型（字典 0目录 1菜单 2按钮） */
    private Integer type;
    /** 图标 */
    private String icon;
    /** 路由地址 */
    private String router;
    /** 权限标识 */
    private String permission;
    /** 应用分类（应用编码） */
    private String application;
    /** 排序 */
    private Integer sort;
    /** 备注 */
    private String remark;
    /** 状态（1-启用，0-停用） */
    private Integer status;

    public Long getPid() {
        return pid;
    }
    public void setPid(Long pid) {
        this.pid = pid;
    }
    public String getPids() {
        return pids;
    }
    public void setPids(String pids) {
        this.pids = pids;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public Integer getType() {
        return type;
    }
    public void setType(Integer type) {
        this.type = type;
    }
    public String getIcon() {
        return icon;
    }
    public void setIcon(String icon) {
        this.icon = icon;
    }
    public String getRouter() {
        return router;
    }
    public void setRouter(String router) {
        this.router = router;
    }
    public String getPermission() {
        return permission;
    }
    public void setPermission(String permission) {
        this.permission = permission;
    }
    public String getApplication() {
        return application;
    }
    public void setApplication(String application) {
        this.application = application;
    }
    public Integer getSort() {
        return sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }

}
